package cn.wolfcode.luowowo.common.util;

import java.util.Date;

public class TimeoutUtil {
    private TimeoutUtil(){}
    public static long getTimeouot(){
        Date date = new Date();
        int hours = date.getHours();
        int minutes = date.getMinutes();
        int seconds = date.getSeconds();
        long timeout = (24-hours) * 60 * 60 + (60 - minutes) * 60 + (60 - seconds);
        return timeout;
    }
}
